package com.bh.wms.domain;

import com.baomidou.mybatisplus.annotation.TableName;
import com.bh.common.annotation.Excel;
import com.bh.common.core.domain.BhtmsBaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serial;

/**
 * 调拨明细
 *
 * @author GPT
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("wms_transfer_order_detail")
@ApiModel(value = "调拨明细", description = "调拨单明细")
public class WmsTransferOrderDetail extends BhtmsBaseEntity {

    @Serial
    private static final long serialVersionUID = 1L;

    @ApiModelProperty("调拨单ID")
    @Excel(name = "调拨单ID")
    private Long transferOrderId;

    @ApiModelProperty("行号")
    @Excel(name = "行号")
    private Integer lineNo;

    @ApiModelProperty("SKU ID")
    @Excel(name = "SKU ID")
    private Long skuId;

    @ApiModelProperty("批次号")
    @Excel(name = "批次号")
    private String batchNo;

    @ApiModelProperty("来源货位ID")
    @Excel(name = "来源货位ID")
    private Long sourceLocationId;

    @ApiModelProperty("目标货位ID")
    @Excel(name = "目标货位ID")
    private Long targetLocationId;

    @ApiModelProperty("调拨数量")
    @Excel(name = "调拨数量")
    private Integer transferQuantity;

    @ApiModelProperty("执行数量")
    @Excel(name = "执行数量")
    private Integer executedQuantity;

    @ApiModelProperty("备注")
    private String remark;
}

